package com.wyh.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wyh.user.dataobject.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserInfoMapper extends BaseMapper<UserInfo> {
    @Select("select  * from user_info where user_name = #{name}")
    UserInfo selectByName(@Param("name") String name);
}
